@layout("/common/_form.html",{js:["/assets/erya/rawmaterialloss/rawmaterialloss_edit.js"], css:["/assets/util/util.css"]}){

<form class="layui-form" id="costingFrom" lay-filter="skuForm" style="height: 400px">
    <div class="layui-fluid">
        <div class="layui-card">
            <div class="layui-card-header">修改食材耗损配置</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <div class="layui-form-item layui-row">
                        <input name="id" type="hidden" id="id"/>
                        <input name="materialCode" type="hidden" id="materialCode"/>
                        <div class="layui-inline layui-col-md12">
                            <label class="layui-form-label wd150">食材名称<span style="color: red;">*</span></label>
                            <div class="layui-input-inline wd550">
                                <input id="materialName" name="materialName" placeholder="请输入食材名称" type="text" class="layui-input"
                                       lay-verify="required" readonly autocomplete="off"/>
                            </div>
                        </div>

                        <div class="layui-inline layui-col-md12">
                            <label class="layui-form-label wd150">食材每单损耗量(克)<span style="color: red;">*</span></label>
                            <div class="layui-input-inline wd550">
                                <input id="lossQuantity" name="lossQuantity" placeholder="请输入食材损耗量" type="text" class="layui-input"
                                       lay-verify="required|number" autocomplete="off"/>
                            </div>
                        </div>

                        <!--<div class="layui-inline layui-col-md12">
                            <label class="layui-form-label wd150">食材损耗单位<span style="color: red;">*</span></label>
                            <div class="layui-input-inline wd550">
                                <input id="lossUnit" name="lossUnit" placeholder="请输入食材损耗单位" type="text" class="layui-input"
                                       lay-verify="required" autocomplete="off"/>
                            </div>
                        </div>-->

                    </div>
                </div>
            </div>
        </div>
        <div class="form-group-bottom text-center">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
            <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
        </div>
    </div>
</form>
@}
